package org.dizem.groupon;

import org.dizem.groupon.dao.ItemDAO;
import org.dizem.util.SpringUtil;

/**
 * User: dizem
 * Time: 11-7-20 下午1:08
 */
public class Test {
	public static void main(String[] args) {
		ItemDAO dao = (ItemDAO) SpringUtil.getBean("itemDAO");
		System.out.println(dao.getById(20).getName());
	}
}
